CSharpTest.Net
SynchronizedDictionary<TKey,TValue> Class Members
See Also  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace : SynchronizedDictionary<TKey,TValue> Class


Glossary Item Box

The following tables list the members exposed by SynchronizedDictionary<TKey,TValue>.

Public Constructors

 NameDescription
Public ConstructorSynchronizedDictionary<TKey,TValue> ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyCountGets the number of elements contained in the ICollection.  
Public PropertyIsReadOnlyGets a value indicating whether the ICollection is read-only.  
Public PropertyItemGets or sets the element with the specified key.  
Public PropertyKeysGets an ICollection containing the keys of the IDictionary.  
Public PropertyLockExposes the interal lock so that you can syncronize several calls  
Public PropertyValuesGets an ICollection containing the values in the IDictionary.  
Top

Public Methods

 NameDescription
Public MethodAddAdds an element with the provided key and value to the IDictionary.  
Public MethodAddOrUpdateOverloaded. Adds a key/value pair to the IDictionary if the key does not already exist, or updates a key/value pair if the key already exists.  
Public MethodClearRemoves all items from the ICollection.  
Public MethodContainsKeyDetermines whether the IDictionary contains an element with the specified key.  
Public MethodCopyToCopies the elements of the ICollection to an System.Array, starting at a particular System.Array index.  
Public MethodDisposeDefines a method to release allocated resources.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the collection.  
Public MethodGetOrAddOverloaded. Adds a key/value pair to the IDictionary if the key does not already exist.  
Public MethodRemoveRemoves the element with the specified key from the IDictionary.  
Public MethodReplaceStorageLocks the collection and replaces the underlying storage dictionary.  
Public MethodTryAddOverloaded. Adds an element with the provided key and value to the IDictionary.  
Public MethodTryGetValueGets the value associated with the specified key.  
Public MethodTryRemoveOverloaded. Removes the element with the specified key from the IDictionary.  
Public MethodTryUpdateOverloaded. Updates an element with the provided key to the value if it exists.  
Top

See Also

Generated with Document! X 2011 by Innovasys